package decorator;

public class Client {
	public static void main(String[] args) {
		Car newCar = new BMWCar();
		Car car = new GpsDecorator(new Mp3Decorator(new ColorDecorator(newCar)));
		car.update("123");
		
		Car carAo=new AudiCar();
		Car aodiAfter=new GpsDecorator(new Mp3Decorator(carAo));
		aodiAfter.update("4534543");
		
		
	}
}
